<?php /* Smarty version 2.6.14, created on 2014-11-12 11:03:36
         compiled from notify_url.index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'notify_url.index.html', 10, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> id="adminform" onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<table border="0" class="search" cellspacing="0" id="search">
   	<tr>
    	<td class="searchlogo">&nbsp;</td>
		<td><?php echo $this->_tpl_vars['systemLang']['chooseGame']; ?>

			<select name="s[game_id]" dataType="Require" msg="<?php echo $this->_tpl_vars['systemLang']['chooseGameRequeire']; ?>
" >
                <option value=''><?php echo $this->_tpl_vars['systemLang']['chooseGame']; ?>
</option>
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['games'],'selected' => $this->_tpl_vars['search']['game_id']), $this);?>

            </select>
            <input type="button" class="button" name="ng" onclick="submitform('<?php echo @BASEURI; ?>
notify_url/index',false)" value="<?php echo $this->_tpl_vars['systemLang']['sure']; ?>
" />
        	&nbsp;&nbsp;<a href="/game_daoju/index"><?php echo $this->_tpl_vars['systemLang']['clearSearch']; ?>
;</a>
        </td>
    </tr>
</table>

<table width="100%" border="0" class="adminlist" cellspacing="0">
  <thead>
  <tr>
    <th><?php echo $this->_tpl_vars['systemLang']['operate']; ?>
</th>
	<th>game_id</th>
	<th>cmcc_notify_url</th>
	<th>cmcc_sync_url</th>
	<th>ctm_sms_url</th>
	<th>ctm_business_url</th>
	<th>gw_notify_url</th>
	<th>ky_notify_url</th>
	<th>qc91_notify_url</th>
	<th>ios_notify_url</th>
	<th>android_notify_url</th>
	<th>google_notity_url</th>
	<th>shopgood_url</th>
	<th>platform</th>
  </tr>
  </thead>
  <tbody>
  <?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['row']):
?>
  <tr class="row0">
   	<td>
        <a href="/notify_url/edit/<?php echo $this->_tpl_vars['row']['id']; ?>
"><?php echo $this->_tpl_vars['systemLang']['edit']; ?>
 &nbsp;
    </td>
    <td><?php echo $this->_tpl_vars['row']['game_id']; ?>
</td>
    <td><?php if ($this->_tpl_vars['row']['cmcc_notify_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['cmcc_sync_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['ctm_sms_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['ctm_business_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['gw_notify_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['ky_notify_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['qc91_notify_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['ios_notify_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  else:  echo $this->_tpl_vars['row']['ios_notify_url'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['android_notify_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  else:  echo $this->_tpl_vars['row']['android_notify_url'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['google_notity_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  endif; ?>&nbsp;</td>
    <td><?php if ($this->_tpl_vars['row']['shopgood_url'] == ''):  echo $this->_tpl_vars['systemLang']['empty'];  endif; ?>&nbsp;</td>
    <td><?php echo $this->_tpl_vars['row']['platform']; ?>
</td>

  </tr>
  <?php endforeach; endif; unset($_from); ?>
  </tbody>
  <tfoot>
  <tr>
    <td colspan="2"><input type="button"  value="添加" onclick="button_location('/notify_url/add',false)" class="button"/></td>
	<td colspan="4"><?php echo $this->_tpl_vars['page']; ?>
</td>
  </tr>
  </tfoot>
</table>
</form>
<script>
function getSelectedValue(name){
var obj=document.getElementById(name);
return obj.value;      //直接用其对象的value属性便可获取到
}
function abc(url,a,c){
	ab=getSelectedValue(a);
	//bc=getSelectedValue(b);
	ca=getSelectedValue(c);
	window.location=url+'/'+ab+'/'+ca;
}
</script>